package assignment9.Parcel5;

public class Parcel5 {
    private void internalTracking(boolean b) {
    	if(b) {
    		class TrackingSlip {
    			private String id;
    			TrackingSlip(String s) { 
    				id = s;
    			}
                String getSlip() { 
                	return id; 
                }
            }
            TrackingSlip ts = new TrackingSlip("slip");
            System.out.println(ts.getSlip());
        }
     }

     public void track() { 
    	 internalTracking(true); 
     }

     public static void main(String[] args)  {   
         Parcel5 p = new Parcel5();    
         p.track();  
     }
}